<!DOCTYPE html>
<style>
div {
  position: absolute;
  width: 100px;
  height: 100px;
  background: green;
  transform: translateX(50px);
}
</style>
<div></div>
